Skip to content

Fix use of length multiplier in several LibMesh methods#3773

Merged
pshriwise merged 1 commit intoopenmc-dev:developfrom
paulromano:libmesh-scaling-fix
Feb 5, 2026
Merged

Fix use of length multiplier in several LibMesh methods#3773
pshriwise merged 1 commit intoopenmc-dev:developfrom
paulromano:libmesh-scaling-fix

Conversation

@paulromano
Copy link
Copy Markdown
Contributor

Description

#3694 changed how length scaling worked for LibMesh, but it looks like it missed a few places that should have been scaled (sample_element() and lower_left_/upper_right_). This PR addresses those.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

Copy link
Copy Markdown
Contributor

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching these @paulromano! @nuclearkevin, look okay to you?

Copy link
Copy Markdown
Member

@nuclearkevin nuclearkevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@pshriwise pshriwise merged commit 3b619d6 into openmc-dev:develop Feb 5, 2026
17 checks passed
@paulromano paulromano deleted the libmesh-scaling-fix branch February 5, 2026 04:43
jon-proximafusion pushed a commit to shimwell/openmc that referenced this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants